package com.baizan.daka.ui.contract

import com.baizan.daka.base.IPresenter
import com.baizan.daka.base.IView
import com.baizan.daka.mvp.model.bean.UserInfoBean
import java.io.File

interface UserInfoContract {

    interface View : IView {

        fun uploadSuccess(fileName:String)

        fun modifySuccess(success:String)

        fun loadSuccess(userInfo: UserInfoBean)
    }

    interface Presenter : IPresenter {

        fun upload(file: File)

        fun submitInfo(userName:String,userIcon:String?,sex:Int)

        fun getUserInfo()
    }
}